package day09;

public class ExtendsDemo4 {
	public static void main(String[] args) {
		D d=new D();
	}
}

class C{
	
	
	public C() {
		System.out.println(2);
	}
	{
		System.out.println(1);
	}
	
}


class D extends C{
	{
		System.out.println(3);
	}
	
	public D() {
		System.out.println(4);
	}
	
	
}

